<?php
/* -------------------------------------------------------------------------------------
* 	ID:						$Id: ipn.php 220 2013-09-22 08:02:14Z phone.mueller@googlemail.com $
* 	Letzter Stand:			$Revision: 220 $
* 	zuletzt geaendert von:	$Author: siekiera $
* 	Datum:					$Date: 2013-09-22 08:02:14 +0000 (Sun, 22 Sep 2013) $
*
* 	SEO:mercari by Siekiera Media
* 	http://www.seo-mercari.de
*
* 	Copyright (c) since 2011 SEO:mercari
* --------------------------------------------------------------------------------------
* 	based on:
* 	(c) 2000-2001 The Exchange Project  (earlier name of osCommerce)
* 	(c) 2002-2003 osCommerce - www.oscommerce.com
* 	(c) 2003     nextcommerce - www.nextcommerce.org
* 	(c) 2005     xt:Commerce - www.xt-commerce.com
*
* 	Released under the GNU General Public License
* ----------------------------------------------------------------------------------- */

chdir('../../');
include('includes/application_top_callback.php');

include(DIR_WS_CLASSES.'class.language.php');
$lng = new language(input_validation($_GET['language'], 'char', ''));

if(!isset($_GET['language']))
  $lng->get_browser_language();

include(DIR_WS_LANGUAGES.$lng->language['directory'].'/'.$lng->language['directory'].'.php');

require_once(DIR_WS_CLASSES.'class.paypal_checkout.php');

$o_paypal = new paypal_checkout();

if(is_array($_POST))	
	$response = $o_paypal->callback_process($_POST,$lng->language['language_charset']);